//
//  outStock.swift
//  NewLndd
//
//  Created by 邵禹曦 on 2020/1/8.
//  Copyright © 2020 辽宁当代. All rights reserved.
//

import UIKit

class outStock: NSObject {
    // MARK: - 属性
    
    var BII : String?  = "---"    // 仓单号
    var BRI : String?  = "---"    // 品种名称
    var WHI : String?   = "---"      // 仓库编号
    var CQ : String?      = "---"  // 商品数量
    var UN : String?    = "---"// 单位
    var BT : String?   = "---"  // 仓单类型
    var OVI : String?  = "---"  // 仓单原始凭证号
    //var ISN : String?   //是否支持选号
    var CT : String?   = "---" // 创建时间
    var UT : String?  = "---"  // 更新时间

    
    
    // MARK: - 自定义构造函数
    init(dict : [String : AnyObject]) {
        super.init()
        setValuesForKeys(dict)
        BII = (dict["BII"] as? String)
        BRI = (dict["BRI"] as? String)
        WHI = (dict["WHI"] as? String)
        CQ = (dict["CQ"] as? String)
        UN = (dict["UN"] as? String)
        BT = (dict["BT"] as? String)
        OVI = (dict["OVI"] as? String)
        //ISN = (dict["ISN"] as? String)
        CT = (dict["CT"] as? String)
        UT = (dict["UT"] as? String)
    }
    // 重写
    override func setValue(_ value: Any?, forUndefinedKey key: String) {}
}
